GET BACKBUFFER DEPTH

This command will return the depth of the backbuffer.

  Syntax
Return Integer=GET BACKBUFFER DEPTH()
  Returns

The depth of the backbuffer

  Description

You can pass this data to a DLL to assist in the direct access of backbuffer memory. You can only use this command when you have used the LOCK BACKBUFFER command.

  Example Code
cls
set display mode 800,600,32
wait 1000*8
print "backbuffer depth "+str$(get backbuffer depth())
do
loop
end
  See also

DISPLAY Commands Menu
Index